package com.juc.countdownlatch.countdownlatch5;

public class Run {

	public static void main(String[] args) {
		MyService myService = new MyService();
		MyThread[] tArray = new MyThread[3];
		for (int i = 0; i < tArray.length; i++) {
			tArray[i] = new MyThread(myService);
		}
		for (int i = 0; i < tArray.length; i++) {
			tArray[i].start();
		}
		
	}
}
